<div class="">
  <input class="input-block-level" id="appendedInput" placeholder="Tìm kiếm..." type="text">
</div>

<h3>Sản phẩm đặc biệt &amp; Khuyên dùng</h3>

<ul class="nav nav-tabs" id="side-bar-tabs">
  <li class="active"><a href="#popular" data-toggle="tab">Đặc biệt</a></li>
  <li><a href="#recent" data-toggle="tab">Khuyên dùng</a></li>
</ul>
<div class="tab-content">
<?php
//Sản phẩm Hot
$productHot = Product::model()->findAllByAttributes(
	array(
    	'status' =>Product::STATUS_ACTIVED,
    	'hot' =>Product::HOT_ACTIVED,
	)
);

if(!empty($productHot))
	echo $this->renderPartial('/site/_productTabHome', array('products'=>$productHot,'type'=>'popular'));

//Sản phẩm khuyên dùng
$productRecent = Product::model()->findAllByAttributes(
	array(
    	'status' =>Product::STATUS_ACTIVED,
    	'recent' =>Product::RECENT_ACTIVED,
	)
);

if(!empty($productRecent))
	echo $this->renderPartial('/site/_productTabHome', array('products'=>$productRecent,'type'=>'recent'));
?>
</div>